package com.panda.group.service;

import java.util.List;

import com.panda.group.entity.Group;
import com.panda.group.entity.GroupMember;
import com.panda.group.entity.GroupMemberAcce;
import com.panda.group.entity.MemberInfo;
import com.panda.sys.entity.User;
import com.panda.utils.Pager;

public interface GroupService {

	Pager<Group> findListLimit(Long offSet, Long pageSize, Long uid, String name);

	List<User> findAllStudent();

	void saveOrUpdate(Group group, List<GroupMember>  member);

	void delete(Long id);

	List<GroupMember> showMember(Long id);

	Group findGroupById(Long id);

	Pager<MemberInfo> findMemberInfoLimit(Long offSet, Long pageSize, String name,String haveSubmit, Long belong);

	void addScore(Long id, Double score);

	List<GroupMemberAcce> findMemberAcce(Long id, Long gid);

	void saveAcce(GroupMemberAcce acce);

	void deleteAcce(Long id);

}
